package cuit.cx.groupcomm.dao;

import java.util.List;

import cuit.cx.groupcomm.model.Customer;

public interface CustomerDao {
    int deleteByPrimaryKey(Integer customerId);

    int insert(Customer record);

    int insertSelective(Customer record);

    Customer selectByPrimaryKey(Integer customerId);
    
    List<Customer> selectByEmail(String email);

    int updateByPrimaryKeySelective(Customer record);

    int updateByPrimaryKey(Customer record);
    
    List<Customer> customerLogin(Customer record);
}